<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
require_once '../model/clienteModel.php';
require_once '../model/vendedorModel.php';

/**
 * Description of saidaModel
 *
 * @author Santos
 */
class saidaModel {

    private $id;
    private $dataSaida;
    private $vendedorModel;
    private $clienteModel;
    private $total;

    public function getId() {
        return $this->id;
    }

    public function getDataSaida() {
        return $this->dataSaida;
    }

    public function getVendedorModel() {
        if ($this->vendedorModel == null) {
            $this->vendedorModel = new vendedorModel();
        }
        return $this->vendedorModel;
    }

    public function getClienteModel() {
        if ($this->clienteModel == null) {
            $this->clienteModel = new clienteModel();
        }
        return $this->clienteModel;
    }

    public function getTotal() {
        return $this->total;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function setDataSaida($dataSaida) {
        $this->dataSaida = $dataSaida;
    }

    public function setVendedorModel($vendedorModel) {
        $this->vendedorModel = $vendedorModel;
    }

    public function setClienteModel($clienteModel) {
        $this->clienteModel = $clienteModel;
    }

    public function setTotal($total) {
        $this->total = $total;
    }

}
